package DAITINGTING.Student;

public class Student {
    String xname;
    String xnumber;
    char gender;
    String sfzh;
    String banji;
    String attendClass(int i) {
        if (i == 2) {
       return "java class";
        }
        if (i == 3) {
            return "C# class";
        }
        return "No class";
    }
    String selfIntroduction() {
        return "我叫:" + xname + ",我的学号是:" + xnumber;
    }
    Student(String name, String xuehao) {
        xname = name;
        xnumber = xuehao;
    }
}
